package com.seveneight.baijiesteward.base;

import java.io.Serializable;

/**
 * Created by Administrator on 2016/8/15 0015.
 */
public class MessageEvent implements Serializable {

    private int type;

    private String message;

    private boolean flag;

    private int postion;

    public int getPostion() {
        return postion;
    }

    public void setPostion(int postion) {
        this.postion = postion;
    }

    public MessageEvent(String message) {
        this.message = message;
    }

    public MessageEvent(int type) {
        this.type = type;
    }

    public MessageEvent(boolean flag) {
        this.flag = flag;
    }

    public MessageEvent(int type, String message) {
        this.type = type;
        this.message = message;
    }

    public MessageEvent(int type, int  postion) {
        this.type = type;
        this.postion = postion;
    }

    public boolean isFlag() {
        return flag;
    }

    public void setFlag(boolean flag) {
        this.flag = flag;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }
}
